# -*- mode: snippet -*-
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : def act(arg: T) = { ..}
# key: act
# --
def act(${1:arg}: ${2:type}) = {
  loop {
    react {
      $0
    }
  }
}